<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>sprite</title>
</head>
<body>
    <div id="canvasContainer"></div>
    <script src="./js/render.js"></script>
    <script src="./js/sprite.js"></script>
    <script>
        // 空格键开始与暂停，上下左右切换方向
        // 更换path地址，可以切换绘制的角色
        render('#canvasContainer', './imgs/NPC2.png');
    </script>
</body>
</html>
